export type User = {
    userId: number;
    username: string;
    password: string;
    status: string;
    createTime: string;
    updateTime: string;
    createUser: number;
    updateUser: number;
    deleted: number;
}


export type Dictionary = {
    id: number
    name: string
    type: string
    key: string
    value: string
    description: string
    parentId: number
    createUser: string
    updateUser: string
    createTime: string
    updateTime: string
    status: string
}

export interface Permission {
    permissionId: number // 权限ID，主键，自增
    permissionName: string // 权限名称，非空
    permissionType: string // 权限名称，非空
    parentId: number // 父级
    icon?: string // 图标
    sort_order: number // 排序，非空，默认值为0
    permission_code: string // 权限代码，非空，唯一
    path?: string // 路径
    status?: string // 状态
    createUser: string
    updateUser: string
    createTime: string
    updateTime: string
}

export interface Role {
    roleId: number
    roleName: string
    description: string
    status?: string // 状态
    createUser: string
    updateUser: string
    createTime: string
    updateTime: string
}


export interface UserRole {
    userId: number
    roleId: number
    status?: string // 状态
    createUser: string
    updateUser: string
    createTime: string
    updateTime: string
}


